package com.wzdigit.wms.basic.client.request.transfer;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @Description 一间调拨请求
 * @Author yangwenbiao
 * @Version
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SingleStepTransferReq implements Serializable {

    private static final long serialVersionUID = 5997685045632307163L;

    @ApiModelProperty(value = "物料编码")
    private String materialCode;

    @ApiModelProperty("仓库/转入仓ID")
    private Integer whsId;

    @ApiModelProperty(value = "货主")
    private Integer owner;

    @ApiModelProperty(value = "转出组织(工厂代码)")
    private String fmFactory;

    @ApiModelProperty(value = "转出销售订单")
    private String fmSoNo;

    @ApiModelProperty(value = "转出销售订单项目")
    private String fmSoLineNo;

    @ApiModelProperty(value = "订单号")
    private String poNo;

//    @ApiModelProperty(value = "调拨单号")
//    private String transferNo;

    /**
     * 库存性质(特殊采购性质)，K为寄售 ,E为销售订单,空白为标准转换为S
     */
    @ApiModelProperty(value = "特殊库存(库存性质)")
    private String invAttr;

    @ApiModelProperty(value = "调拨单明细ID")
    private Long transferDtlId;

    @ApiModelProperty(value = "供应商")
    private Integer vendorId;

    @ApiModelProperty(value = "QA状态")
    private Integer qaStatus;
}
